/**
 * \file screenpig/events.c
 * \date 01-30-2010
 * \author Davide Gessa
 */
#include "include/events.h"
#include "include/render.h"
#include <types.h>
#include <stdlib.h>


/**
 * Prende un evento tastiera
 */
event_keyboard_t events_key_get()
{
	return getchar();
}


/**
 * Prende un evento mouse
 */
event_mouse_t events_mouse_get()
{
	event_mouse_t a;
	
	cur_x = cur_x + mouse_get_x() * res_x / 255;
	cur_y = cur_y + mouse_get_y() * res_y / 255;
}
